package cate.common.table.activity.talentcustommade;

import cate.common.table.ESheet;

import java.util.List;
import java.util.stream.Collectors;

public class TalentCustomMadePosSheet extends ESheet<TalentCustomMadePosRow> {

    @Override
    public String getSheetName() {
        return "天赋定制";
    }

    public TalentCustomMadePosRow getPosRow(int posGroup) {
        return getList().stream().filter(e -> e.group == posGroup).findAny().orElse(null);
    }
}
